package com.whcoding.designpatterns.pattern.prototype;

/**
 * @program: spring-boot-learning
 * @description:
 * @author: whcoding
 * @create: 2022-09-21 16:18
 **/
public class PrototypeTests {

	public static void main(String[] args) {
		CloneSheepImpl sheep = new CloneSheepImpl("多莉", 1, "white");
		SheepVO sheepVO1=sheep.clone();
		SheepVO sheepVO2=sheep.clone();
		SheepVO sheepVO3=sheep.clone();
		SheepVO sheepVO4=sheep.clone();
		SheepVO sheepVO5=sheep.clone();
	}
}
